package com.xmg.p2p.business.domain;

import lombok.Getter;
import lombok.Setter;

import com.xmg.p2p.base.domain.BaseAuditDomain;

/**
 * 专门用来记录借款的审核历史
 *
 */
@Setter
@Getter
public class BidRequestAuditHistory extends BaseAuditDomain {

	public static  final int PUBLISH_AUDIT = 0 ; //发标审核
	public static  final int FULL_AUDIT1 = 1 ; //满标一审
	public static  final int FULL_AUDIT2 = 2 ; //满标二审
	
	private Long bidRequestId;	 //关联到对应的bidRequest
	private int auditType ;  //审核的状态
	
	public String getAuditTypeDisplay(){
		switch (this.auditType) {
		case PUBLISH_AUDIT: return "发标审核";
		case FULL_AUDIT1: return "满标一审";
		case FULL_AUDIT2: return "满标二审";
		default: return "" ;
		}
	}
	
	
	
}
